package com.frame.base.utils;

import android.content.Context;
import android.widget.Toast;

import com.frame.base.MyApplication;

/**
 * Created by Administrator on 2017/10/24.
 */

public class ToastUtil {

    public static void showShort(Context context, String info) {
        Toast.makeText(MyApplication.getInstance(), info, Toast.LENGTH_SHORT).show();
    }

    public static void showLong(Context context, int info) {
        Toast.makeText(MyApplication.getInstance(), info, Toast.LENGTH_LONG).show();
    }
}
